package com.example.springboot.dao;

import com.example.springboot.domain.Resource;
import com.example.springboot.domain.ResourseVo;

import java.util.List;

public interface ResourceMapper {


    /*（
        资源分页&多条件查询
     */

    public List<Resource> findAllResourceByPage(ResourseVo resourseVo);

    int getTotal(ResourseVo resourseVo);
    void addResource(Resource resource);

    void updateResource(Resource resource);

    void deleteRoleResourceRelation(Integer id);

    void deleteResource(Integer id);
}
